When wind blows up a mountain slope the water falls out. The dried air goes down the other side, gets warmer, holds water and does not rain
A rain shadow is an area of land that lies behind a mountain which gets almost no rainfall. This side of a mountainous area is away from the wind. The mountains block the passage of rain-producing weather systems and cast a "shadow" of dryness behind them.